<%@page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>UAB</title>
<link rel="shortcut icon" href="./gfx/favUABicon.ico"/>
<meta name="Author" content="Tangent" />
<link type="text/css" rel="stylesheet" href="./css/login.css"
	media="screen" />
<link type="text/css" rel="stylesheet" href="./css/style_text.css"
	media="screen" />
<link type="text/css" rel="stylesheet" href="./css/form-buttons.css"
	media="screen" />
<link type="text/css" rel="stylesheet" href="./css/link-buttons.css"
	media="screen" />
<link type="text/css" rel="stylesheet" href="./css/messages.css"
	media="screen" />
<link type="text/css" rel="stylesheet" href="./css/forms.css"
	media="screen" />

<script type="text/javascript" src="./js/jquery-1.6.2.min.js"></script>

<!--[if lte IE 8]>
		<script type="text/javascript" src="js/excanvas.min.js"></script>
	<![endif]-->

<script type="text/javascript" src="./js/superfish.js"></script>
<script type="text/javascript" src="./js/supersubs.js"></script>
<script type="text/javascript" src="./js/hoverIntent.js"></script>
<script type="text/javascript" src="./js/jquery.flot.js"></script>
<script type="text/javascript" src="./js/jquery.graphtable-0.2.js"></script>
<script type="text/javascript" src="./js/jquery.ui.core.js"></script>
<script type="text/javascript" src="./js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="./js/jquery.ui.tabs.js"></script>
<script type="text/javascript" src="./js/customInput.jquery.js"></script>
<script type="text/javascript" src="./js/jquery.tablesorter.js"></script>
<script type="text/javascript" src="./js/jquery.tablesorter.pager.js"></script>
<script type="text/javascript" src="./js/jquery.sparkbox-select.js"></script>
<script type="text/javascript" src="./js/jquery.fancybox-1.3.4.js"></script>
<script type="text/javascript" src="./js/jquery.filestyle.mini.js"></script>
<script type="text/javascript" src="./js/date.js"></script>
<script type="text/javascript" src="./js/jquery.datepicker.js"></script>
<script type="text/javascript" src="./js/inline.js"></script>
</head>
<body
	onload="document.getElementById('login').focus();document.getElementById('login').select()">
	<div class="wrapper">
		<div class="logo"><img src="./gfx/logo-uab-login.png" alt="UAB" /></div>
		<div class="box">
			<div class="container">
				<h1>
					<a href="#">Universitat Autonoma de Barcelona</a>
				</h1>
				<h2>Login:</h2>
				<form method="post" action="j_spring_security_check">
					<s:textfield id="login" cssClass="small" value="Username"
						name="j_username" maxlength="100" />

					<s:password id="password" cssClass="small" value="Password"
						name="j_password" maxlength="100" />
					<button type="submit" class="grey medium">
						<span>Login</span>
					</button>
					<button type="reset" class="grey medium">
						<span>Reset</span>
					</button>
				</form>
				<div class="bottom">
					<%
						if (request.getParameter("error") != null) {
					%>
					<div class="messages red">
						<span></span>
						<s:text name="benvingut.benvingutError" />
					</div>

					<%
						} else {
					%>
					<h2>
						<s:text name="benvingut.benvingut1" />
					</h2>
					<%
						}
					%>
					<h2>
						<s:text name="benvingut.benvingut2" />
					</h2>




				</div>
			</div>
		</div>

	</div>











	<!-- 	<div id="container" class="index"> -->
	<!-- 		<div id="info"> -->
	<%-- 			<img src="<s:text name='local.logo'/>" align="right" width="1000" --%>
	<!-- 				height="98" alt="fuab" /> -->
	<!-- 		</div> -->
	<!-- 		<div id="menu"> -->

	<!-- 		</div> -->

	<!-- 		<div id="wrapper"> -->
	<!-- 			<div id="content"> -->
	<!-- 				<h1> -->
	<%-- 					<% --%>
	<!-- 						if (request.getParameter("error") == null) { -->
	<!-- 					%> -->
	<%-- 					<s:text name="benvingut.benvingut1" /> --%>
	<%-- 					<% --%>
	<!-- 						} else { -->
	<!-- 					%> -->

	<%-- 					<span style="color: red"><s:text --%>
	<%-- 							name="benvingut.benvingutError" /> </span> --%>
	<%-- 					<% --%>
	<!-- 						} -->
	<!-- 					%> -->
	<!-- 					<br /> -->
	<%-- 					<s:text name="benvingut.benvingut2" /> --%>
	<!-- 				</h1> -->
	<!-- 				<form method="post" action="j_spring_security_check"> -->
	<%-- 					action="${pageContext.request.contextPath}/j_spring_security_check" --%>
	<!-- 					<br /> -->
	<!-- 					<fieldset> -->
	<!-- 						<div class="field"> -->
	<%-- 							<label for="login"> <s:text name="login.usuari" /> </label> <input --%>
	<!-- 								type="text" id="login" value="sergi" name="j_username" -->
	<!-- 								maxlength="100" /> -->
	<!-- 						</div> -->
	<!-- 						<div class="field"> -->
	<%-- 							<label for="password"><s:text name="menu.contrasenya" /> --%>
	<!-- 							</label> <input type="password" id="password" value="sergi" -->
	<!-- 								name="j_password" maxlength="100" /> -->

	<!-- 						</div> -->
	<!-- 					</fieldset> -->
	<!-- 					<input type="submit" class="btnLogin" style="margin-left: 22px" -->
	<%-- 						value="<s:text name='button.entrar'/>" /> --%>
	<!-- 				</form> -->
	<!-- 			</div> -->
	<!-- 		</div> -->
	<!-- 		<div id="footer"> -->
	<!-- 			<p align="center"> -->
	<%-- 				<s:text name="copyright.copyright1" /> --%>
	<%-- 				<s:text name="copyright.copyright2" /> --%>
	<!-- 			</p> -->
	<!-- 		</div> -->
	<!-- 	</div> -->
</body>
</html>